package com.voice.server.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;

import javax.persistence.*;

@Data
@Entity
@Table(name = "tbl_app_token")
@DynamicUpdate
@Proxy(lazy = false)
public class AppToken extends SupperEntity{

    @Column(unique = true)
    private String appKey;

    private String appSecret;

    private String userId;

    private String pushUrl;
}
